<?php
    /**
     * Created by PhpStorm.
     * User: Administrator
     * Date: 2017/4/12
     * Time: 10:01
     */
    
    
    //人物类
    require 'people/father.php';
    
    require 'people/IT/foreEnd.php';
    require __DIR__.'/people/IT/PhpEngineer.php';
    
    require 'people/financial/loan.php';
    
    require 'people/medical-Treatment/doctor.php';
    
    require __DIR__ .'/people/political/alcalde.php';
    require __DIR__ .'/people/political/CivilServant.php';
    require __DIR__ .'/people/political/Teacher.php';
    
    //动物类
    require __DIR__ .'/animal/Animals.php';
    
    require __DIR__ .'/animal/land/Cat.php';
    require __DIR__ .'/animal/land/dog.php';
    require __DIR__ .'/animal/land/Mice.php';
    
    require __DIR__ .'/animal/ocean/Cetacean.php';
    
    require __DIR__ .'/animal/sky/Eagle.php';
    
    
    
    
   /* echo 'people/financial/loan.php';
    echo '<br>';
    echo __DIR__ .'/people/political/Teacher.php';
    die;
    */
   
   
   
    $Father = new Father('sdk','10','170','50');
    $Father ->eat('水果');
    $Father ->say('国语');
    
    $foreEnd = new ForeEnd('轩','21','168','45kg');
    $foreEnd->profession();
    
    $loan = new Loan('小米','25','165','45');
    $loan ->profession();
    
    $doctor = new Doctor('建生','35','175','50');
    $doctor ->profession();
    
    $civilServant = new CivilServant('钟哥','31','175','52','打蓝球');
    $civilServant ->profession();
    
    $teacher = new Teacher('煊','21','160','48');
    $teacher ->profession();
    
    $phpEngineer = new PhpEngineer('秋枫','23','162','52');
    $phpEngineer ->profession();
    
    $alcalde = new Alcalde('angerlar bady','28','168','45');
    $alcalde ->profession();
    echo '<br>';
    echo '<br>';
    echo '<br>';
    echo '<br>';
    
    $animal = new Animals('5','2','阿福');
    $animal ->eat();
    
    $cat = new Cat(10,2,'小公主');
    $cat ->call();
    
    $dog = new Dog(1,2,'kai');
    $dog ->call();
    
    $Mice =new  Mice('','' ,'');
    $Mice ->call();
    
    $cetacean = new Cetacean(3,5,'lalala');
    $cetacean ->call();
    
    $eagle = new Eagle(5,7,'xianxuhn');
    $eagle ->call();
    
    
    
    
    
    
    
    